package com.example.service;

import com.example.pojo.LoginMsg;
import com.example.pojo.Result;
import com.example.pojo.Score;
import com.example.pojo.Teacher;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface TeacherFirstPageService {
    LoginMsg updateInfo(Teacher teacher);

    List<String> searchClass(Integer teacherId);

    List<String> searchSubject(Integer teacherId, String className);

    List<String> searchSemester(Integer teacherId, String className, String subjectName);

    Result insertSingleScore(Score score);

    ResponseEntity<String> batchInputScore(MultipartFile file);
}
